package com.example.springfeature.decorator;

import org.springframework.context.annotation.Bean;

/**
 * Created with IDEA
 * 普通的机器人
 * @author: 董文辉
 * Date: 2019/3/29
 * Time: 18:02
 */
public class OrdinaryRobot implements Robot {
    @Override
    public void speak() {
        System.out.println("普通机器人讲话");
    }
    @Override
    public void move() {
        System.out.println("普通机器人移动");
    }
}
